
<div class="row">

	<div class="form-group col-sm-2">
		<label  for="enviroment-type">Ambiente</label>
		<select id="enviroment-type" class="form-control" ng-model="salesForceProfile.connection"
				ng-options="p.name for p in salesForceProfile.enviroments()">
			<option value=""></option>
		</select>	
	</div>
	
	<div class="form-group col-sm-5">
		<label for="login-url">Url de Login</label>
		<input type="text" id="login-url" class="form-control" ng-model="profile.loginUrl" required>
	</div>

	<div class="form-group col-sm-5">
		<label for="service-url">Url da Instância SalesForce</label>
		<input type="text" id="service-url" class="form-control" ng-model="profile.serviceUrl" required>
	</div>

	<div class="form-group col-sm-4">
		<label for="login">Usuário</label>
		<input type="text" id="login" class="form-control" ng-model="profile.username" required>
	</div>
	<div class="form-group col-sm-4">
		<label for="password">Password</label>
		<input type="password" id="password" class="form-control" ng-model="profile.password" required>
	</div>
	<div class="form-group col-sm-4">
		<label for="token">Token</label>
		<input type="text" id="token" class="form-control" ng-model="profile.token" required>
	</div>
	
</div>

<div class="row">
	<div class="form-group col-sm-offset-3 col-sm-2">
		<button type="button"  class="btn" ng-click="add()">Cancelar</button>
	</div>
	<div class="form-group col-sm-offset-2 col-sm-5">
		<button type="button"  class="btn btn-lg btn-primary btn-block" ng-click="add()">Adicionar</button>
	</div>
</div>